package com.leruan.aasimp.dao;

import java.util.List;

import com.leruan.aasimp.entity.Eauser;

public interface EauserDao {
	
	void addEauser(Eauser eauser);
	
	void updateEauser(Eauser eauser);

	Eauser getEauserByUn(String username);

	Eauser getEauserByUid(String userid);

	List<Eauser> getEausersByType(int type);

	void destroyEauser(String userid);

	List<Eauser> getEausersByTypeAndId(int i, Long idCompany);

}
